package org.az.netty_study.p16_rpc;

import java.util.concurrent.atomic.AtomicInteger;

public class SequenceIdGenerator {
    private static final AtomicInteger count = new AtomicInteger(0);

    public static int getSequenceId() {
        return count.incrementAndGet();
    }

}
